﻿
@{
    ViewBag.Title = Resources.WebStringsWeb.WebTitle;
    Layout = "~/Views/Shared/_LayoutMobile.cshtml";
}
@section css {
    <style>
        .imgicon {
            width: 3.2rem
        }

        .mui-badge {
            font-size: 10px;
            line-height: 1.4;
            position: absolute;
            top: 2px;
            left: 100%;
            margin-left: -35px;
            padding: 1px 5px;
            color: #fff;
            background: red;
        }
    </style>
}
<header class="mui-bar mui-bar-nav">
    <a href="../Home/MenuBar" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title" style="color:white;">@ViewBag.PlaceName</h1>
</header>
<div class="mui-content" ng-cloak ng-controller="HomeController" ng-init="
     PlaceId='@(Request.QueryString["PlaceId"].IsEmpty() ? "" : Request.QueryString["PlaceId"])';
      RoomId='@(Request.QueryString["RoomId"].IsEmpty() ? "" : Request.QueryString["RoomId"])';
      PlaceName='@(Request.QueryString["PlaceName"].IsEmpty() ? "" : Request.QueryString["PlaceName"])';
     ">
    <ul class="mui-table-view mui-grid-view mui-grid-9">
        <li ng-show="@ViewBag.IsCheck==1" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../PlaceSafety/MPlaceCheckAdd?RoomId={{RoomId}}&PlaceId={{PlaceId}}&PlaceName={{PlaceName}}&PageName=../Home/MPlaceWork">
                <span><img class="imgicon" src="~/Assets/img/mweb/checkform.png" /></span>
                <div class="mui-media-body" style="font-size:13px;">日常检查</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../IssueReport/MIssueReportAdd?RoomId={{RoomId}}&PlaceId={{PlaceId}}&PlaceName={{PlaceName}}&PageName=../Home/MPlaceWork">
                <img class="imgicon" src="~/Assets/img/mweb/submitissue.png" />
                <div class="mui-media-body" style="font-size:13px;">问题上报</div>
            </a>
        </li>
        <li ng-show="@ViewBag.IsCheck==1||@ViewBag.IsLeader==1" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../PlaceSafety/MPlaceResponsibilityAttr?RoomId={{RoomId}}&PlaceId={{PlaceId}}&PlaceName={{PlaceName}}">
                <img class="imgicon" src="~/Assets/img/mweb/resp.png" />
                <div class="mui-media-body" style="font-size:13px;">场所责任</div>
            </a>
        </li>
        <li ng-show="@ViewBag.IsCheck==1||@ViewBag.IsLeader==1" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../PlaceSafety/MCheckRecordList?RoomId={{RoomId}}&PlaceId={{PlaceId}}&PlaceName={{PlaceName}}">
                <img class="imgicon" src="~/Assets/img/mweb/booklist.png" />
                <div class="mui-media-body" style="font-size:13px;">历史台账</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../PlaceSafety/MPlaceRisk?PlaceId={{PlaceId}}&RoomId={{RoomId}}&PlaceName={{PlaceName}}">
                <img src="~/Assets/img/mweb/riskanalysis.png" class="imgicon" />
                <div class="mui-media-body" style="font-size:13px;">风险分析</div>
            </a>
        </li>
        <li ng-show="@ViewBag.IsCheck==1||@ViewBag.IsLeader==1" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../PlaceSafety/MPlaceDevice?PlaceId={{PlaceId}}&RoomId={{RoomId}}&PlaceName={{PlaceName}}">
                <img src="~/Assets/img/mweb/equipment.png" class="imgicon" />
                <div class="mui-media-body" style="font-size:13px;">设施设备</div>
            </a>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="../Emergency/MEvacuateFileList?PlaceId={{PlaceId}}&RoomId={{RoomId}}&PlaceName={{PlaceName}}">
                <img class="imgicon" src="~/Assets/img/mweb/evacuate.png" />
                <div class="mui-media-body" style="font-size:13px;">应急疏散</div>
            </a>
        </li>
    </ul>
</div>

@section js{
    <script src="~/Assets/js/pg/Home.js?v=@DateTime.Now.ToString("yyyyMMddHH")"></script>
    <script>
      
    </script>
}

